<!--{template common/header}-->
<style type="text/css">
.xrLayer{width:90%;background:#fff;margin:0 auto;border:1px solid #dfdfdf; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;padding:20px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}
.xrLoginTit{height:30px;line-height:30px;font-size:16px;font-weight:normal;margin-bottom:10px;}
.xrLoginTit a{float:right;width:30px;height:30px;display:block;text-indent:-9999px;overflow:hidden;position:relative;background:url(source/plugin/xinrui_qq/template/image/close.png) no-repeat center center / 60%;}
.xrLoginList li{padding:5px 0 5px 90px;position:relative;font-size:14px;border:solid 1px #eee;margin-bottom:10px;border-radius:3px;}
.xrLoginList li label{display:block;width:80px;height:30px;line-height:30px;top:5px;left:10px;position:absolute;}
.xrLoginInpt{height:30px;line-height:30px;border:none;width:100%;padding:5px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}
.xrLoginTxt{height:20px;line-height:20px;padding:5px 0;}
.xrLoginList .xrLoginLi,.xrLoginList .xrSetPrompt {padding:0;border:none;margin:0;}
.xrLoginList .xrSetPrompt{line-height:20px;color:#09a3dc;margin-bottom:10px;}
.xrLoginBtn{background:#09a3dc;width:100%;height:38px;line-height:38px;color:#fff;border:1px solid #09a3dc;font-weight:normal;font-size:16px;border-radius:3px;}
.xrLoginBtn{background:#09a3dc;border:1px solid #09a3dc;}
.noBorder{border:none !important;}
.xrLoginLong li{padding-left:130px;}
.xrLoginLong li label{width:120px;}
</style>
<div class="xrLayer f_c">
    <!--{if $_G['uid'] && $_GET['op'] == 'username'}-->
    <h3 class="xrLoginTit">
		<a href="javascript:;" onclick="popup.close();" title="{lang close}">{lang close}</a>
        <em id="return_$_GET['handlekey']">{lang xinrui_qq:setting_upt_username}</em>
    </h3>
	<div class="xrLoginList">
    <form id="confirmform" method="post" autocomplete="off" action="plugin.php?id=xinrui_qq&mod=setting&op=username&infloat=yes&confirmsubmit=yes" onsubmit="ajaxpost('confirmform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror'); return false;">
		 <!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
         <input type="hidden" name="formhash" value="{FORMHASH}" />
		 <ul>
			<li class="noBorder"><label>{lang xinrui_qq:setting_upt_username1}</label> <div class="xrLoginTxt">{$_G['username']}</li>
			<li><label for="newusername">{lang xinrui_qq:setting_upt_username2}</label><input type="text" id="newusername" name="newusername" size="30" class="xrLoginInpt" tabindex="1" /></li>
            <li class="xrLoginLi"><button class="xrLoginBtn" type="submit" name="confirmsubmit" value="true" tabindex="1">{lang submit}</button></li>
		</ul>
    </form>
	</div>
    <!--{/if}-->
    <!--{if $_G['uid'] && $_GET['op'] == 'password'}-->
    <h3 class="xrLoginTit">
		<a href="javascript:;" onclick="popup.close();" title="{lang close}">{lang close}</a>
        <em id="return_$_GET['handlekey']">{lang xinrui_qq:setting_upt_pwd}</em>
    </h3>
	<div class="xrLoginList">
    <form id="confirmform" method="post" autocomplete="off" action="plugin.php?id=xinrui_qq&mod=setting&op=password&infloat=yes&confirmsubmit=yes" onsubmit="ajaxpost('confirmform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror'); return false;">
		<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
		<input type="hidden" name="formhash" value="{FORMHASH}" />
		<ul>
            <li><label for="newpassword">{lang xinrui_qq:setting_upt_pwd1}</label><input type="password" id="newpassword" name="newpassword" size="30" class="xrLoginInpt" tabindex="1" /></li>
            <li><label for="confirmpassword">{lang xinrui_qq:setting_upt_pwd2}</label><input type="password" id="confirmpassword" name="confirmpassword" size="30" class="xrLoginInpt" tabindex="2" /></li>
            <li class="xrLoginLi"><button class="xrLoginBtn" type="submit" name="confirmsubmit" value="true" tabindex="3">{lang submit}</button></li>
		</ul>
    </form>
	</div>
    <!--{/if}-->

	<!--{if $_G['uid'] && $_GET['op'] == 'bind'}-->
    <h3 class="xrLoginTit">
		<a href="javascript:;" onclick="popup.close();" title="{lang close}">{lang close}</a>
        <em id="return_$_GET['handlekey']">{lang xinrui_qq:setting_bind_username}</em>
    </h3>
	<div class="xrLoginList xrLoginLong">
		<form id="confirmform" method="post" autocomplete="off" action="plugin.php?id=xinrui_qq&mod=setting&op=bind&infloat=yes&confirmsubmit=yes" onsubmit="ajaxpost('confirmform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror'); return false;">
		<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
		<input type="hidden" name="formhash" value="{FORMHASH}" />
		<ul>
			<li><label for="oldusername">{lang xinrui_qq:setting_bind_oldusername}</label><input type="text" id="oldusername" name="oldusername" size="30" class="xrLoginInpt" tabindex="1" /></li>
			<li><label for="oldpassword">{lang xinrui_qq:setting_bind_oldpassword}</label><input type="password" id="oldpassword" name="oldpassword" size="30" class="xrLoginInpt" tabindex="2" /></li>
			<li><label for="newpassword">{lang xinrui_qq:setting_bind_newpassword}</label><input type="password" id="newpassword" name="newpassword" size="30" class="xrLoginInpt" tabindex="2" /></li>
			<li class="xrSetPrompt">{lang xinrui_qq:setting_bind_prompt}</li>
			<li class="xrLoginLi"><button class="xrLoginBtn" type="submit" name="confirmsubmit" value="true" tabindex="3">{lang submit}</button></li>		
		</ul>
		</form>
	</div>
    <!--{/if}-->
	<!--{if $_G['uid'] && $_GET['op'] == 'unbind'}-->
	<h3 class="xrLoginTit">
		<a href="javascript:;" onclick="popup.close();" title="{lang close}">{lang close}</a>
        <em id="return_$_GET['handlekey']">{lang xinrui_qq:setting_unbind_username}</em>
    </h3>
	<div class="xrLoginList">
	<form id="confirmform" method="post" autocomplete="off" action="plugin.php?id=xinrui_qq&mod=setting&op=unbind&infloat=yes&confirmsubmit=yes" onsubmit="ajaxpost('confirmform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror'); return false;">
		<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
		<input type="hidden" name="formhash" value="{FORMHASH}" />
		<ul>
			<li class="xrLoginLi">{lang xinrui_qq:qrcode_auth_pwd}</li>
			<li><label for="passwordconfirm">{lang login_password}:</label><input type="password" id="passwordconfirm" name="passwordconfirm" size="30" class="xrLoginInpt" tabindex="1" /></li>
			<li>
				<label for="passwordconfirm"></label>
				<div class="xrLoginTxt">
				<!--{if !empty($_G['xr_qq']['bind'])}-->
				{lang xinrui_qq:setting_unbind_info1}{$_G['xr_qq']['username']}
				<!--{else}-->
				{lang xinrui_qq:setting_unbind_info2}
				<!--{/if}-->
				</div>
			</li>
			<li class="xrLoginLi"><button class="xrLoginBtn" type="submit" name="confirmsubmit" value="true" tabindex="1"><strong>{lang submit}</strong></button></li>	
		</ul>
	</form>
	</div>
	<!--{/if}-->
</div>



<script type="text/javascript">
<!--{if $_G['uid']}-->
            function succeedhandle_$_GET['handlekey']() {
            hideWindow('$_GET['handlekey']');
                    location.href = location.href;
            }
<!--{/if}-->
</script>
<!--{template common/footer}-->